<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>js第一次</title>
    <script>
        function hello() {
            document.getElementById("demo").innerHTML = "你好，JavaScript 世界！";
        }
        </script>
         <script src="js/hello.js"></script>
       <script>
           var author = "jwz";
var age = 22;
var Age = 23;
var male = true;
var a,b,c
var txt2 = "基础教程";
var txt3 = txt1 + txt2;
       </script>
       <script>
        "use strice";
        console.log(this);
        console.log(this === window);
        </script>
</head>
<body>
    <h2>嵌入式</h2>
    <p id="demo" onclick="hello()">单击这段文字！</p>
    <div>
         <h2>行内式</h2>
         <p id="demo" onclick="javascript:alert('Hello!');">单击这段文字！</p>
    </div>
       <div>
        <h2>链接式</h2>
        <p>链接式 JavaScript 案例</p>

       </div>
       <var>what?</var>
       <script>
           c
       </script>
        <div class="part-two">
            <div class="wpr">
    
                <ul class="menu">
                    <div class="logo fl hidden"><img src="http://www.dili360.com/public/images/logo.jpg"></div>
                    <li class="one item active"><a href="/">首页</a></li>
    
                    
                </ul>
            </div>
        </div>
    

</body>
</html>